package com.ustb.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ustb.springboot.common.utils.R;
import com.ustb.springboot.entity.AnswerBlankEntity;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;


/**
 * @author pyn
 * @date 2022-05-17 11:26:55
 */
public interface AnswerBlankService extends IService<AnswerBlankEntity> {

    R save(HttpServletRequest request, AnswerBlankEntity answerBlank);

    R delete(Map<String, Object> body);

    List<AnswerBlankEntity> queryAnsBlankWithQuestionId(String Question_id);

    Map<String,Object> summerizeAnswerBlankTable(List<AnswerBlankEntity> answerBlankEntityList);
}

